Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support tunning off STARTTLS for localhost #245

Closed
ghost opened this issue Dec 23, 2021 · 9 comments
Closed

Support tunning off STARTTLS for localhost #245

ghost opened this issue Dec 23, 2021 · 9 comments

Comments

@ghost
Copy link

ghost commented Dec 23, 2021

Hello,

I am running proton-bridge on headless environment and I would like to request adding command-line option to tun off STARTTLS while on localhost.

Since there is no single point to encrypt for the local email session, this will support more smtp email clients with STARTTLS option disabled and it will remove problems caused by self-signed certificates.

@bartbutler
Copy link

This sounds like a good idea.

@m4rkw
Copy link

m4rkw commented Jan 27, 2022

+1 this would be really helpful. I've wasted a lot of time trying to architect a productionised deployment of proton-bridge for my own use but struggle to make it play nice with the surrounding tooling. This would help a lot with that.

@jamolnng
Copy link

While not a solution for turning off STARTTLS, I've got a write-up about how to get Let's Encrypt certificates working with proton-bridge so you have valid TLS certificates

https://lder.dev/posts/Fixing-ProtonMail-Bridge-SSL-errors-with-Lets-Encrypt/

@ghost
Copy link
Author

ghost commented May 31, 2022

@jamolnng BTW, most smtp applications connecting with the bridge would work with starttls: disabled option. ( Tested with Nextcloud as well )

@jamolnng
Copy link

jamolnng commented May 31, 2022

@ayanamidev Ya I did realize that for Nextcloud after I finished getting the certificates working, but I figured there might be one point where disabling starttls doesn't work for some application and I didn't want to be stuck

Also even though it should be only on the local network, the extra bit of security using TLS certificates, self-signed or not, gives that extra bit of comfort

@xadhatter
Copy link

xadhatter commented Jan 26, 2023

I haven't tested but there does seem to be a way to change from STARTTLS to SSL, which would solve my use case issues.

"IMAPSSL": true,
"SMTPSSL": true,

Womp, appears the setting has no effect. Still runs in STARTTLS mode.

@xadhatter
Copy link

Appears this was added in v3. Can't wait!

image

@andrzejsza
Copy link

indeed. feel free to test and let us know if doesn't work.

@vjau
Copy link

vjau commented Oct 30, 2023

I can't get SSL to work with thunderbird.
I get an ssl_error_protocol_version_alert in the thunderbird console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants